package com.lizhi.yun.deploy.common;

/**
 * @Author: lizhi
 * @Description: 对应数据库初始化
 * @Date: create in 2020/6/19 17:00
 */
public class Constants {

    /*init sql*/
    public static final String MYSQL_CHARSET = "utf-8";

    public static final String MYSQL_INIT = "${sql.init}";

    public static final String MYSQL_DRIVER = "${spring.datasource.driver-class-name}";

    public static final String MYSQL_URL = "${spring.datasource.url}";

    public static final String MYSQL_USERNAME = "${spring.datasource.username}";

    public static final String MYSQL_PASSWORD = "${spring.datasource.password}";

    public static final String MYSQL_CATALOG = "${spring.datasource.hikari.catalog}";

    public static final String[] MYSQL_TABLES = {"upp_menu", "upp_organ", "upp_parameters", "upp_role", "upp_role_menu", "his_hospital_config", "his_seed",
            "stand_appoint_info", "stand_assess_info", "stand_pre_apm", "stand_prescription_action", "stand_prescription_info", "stand_pt_info", "stand_serial_manage"};

    public static final String MYSQL_SQL_URL = "sql/v1_0_0_1_init_data.sql";

    /*swagger2*/
    public static final String SWAGGER_ENABLE = "${swagger.enable}";

    public static final String SWAGGER_PORT = "${server.port}";

    public static final String SWAGGER_URL = "https://localhost:";

    public static final String SWAGGER_VERSION = "1.0.0";
}
